<?php

namespace App\Http\Controllers\web;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class SendMall extends Mailable
{
    use Queueable, SerializesModels;

    public $msg;
   

   public function __construct($msg)
    {
        $this->msg = $msg;
    }

    
    /**
     * 构建消息。
     *
     * @return $this
     */
    public function build()
    {
        return $this->view('web.email.email');
    }
}